::@echo Off
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"

:: VMware的服务启动
net start "VMware NAT Service"
net start "VMnetDHCP"
net start "VMUSBArbService"
net start "VMAuthdService"


:: 启用网卡
netsh interface set interface "VMware Network Adapter VMnet1"  enable
netsh interface set interface "VMware Network Adapter VMnet8"  enable

pause
